{% extends "registration/base.html" %}
{% block title %}Login{% endblock %}

{% block content %}

	{% if form.has_errors %}
	<p>Your username or e-mail and password didn't match. Please try again.</p>
	{% endif %}
	<form method="post" action=".">
		<table>
			<tr>
				<td><label for="id_username">Username or E-mail:</label></td>

				<td>{{ form.username }}</td>
			</tr>
			<tr>
				<td><label for="id_password">Password:</label></td>
				<td>{{ form.password }}</td>
			</tr>
		</table><input type="submit" value="login"> <input type="hidden" name="next" value="{{ next }}">
	</form>
	
	<br>
	<p><a href="/accounts/register/">New User?</a></p>
		
	
{% endblock %}